package com.shakev.coupon.data.mysql.config;

//import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.shakev.coupon.data.mysql.mapper")
@ComponentScan({
        "com.shakev.coupon.data.mysql.entity",
        "com.shakev.coupon.data.mysql.controller",
        "com.shakev.coupon.data.mysql.service",
        "com.shakev.coupon.business.service"})
public class MybatisPlusConfig {
//    @Bean
//    public PaginationInterceptor paginationInterceptor() {
//        return new PaginationInterceptor();
//    }
}
